package com.zysf.library_boot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zysf.library_boot.dto.BookCommentDto;
import com.zysf.library_boot.dto.MyCommentDto;
import com.zysf.library_boot.entity.BookComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 31161
* @description 针对表【book_comment】的数据库操作Service
* @createDate 2024-12-29 01:41:52
*/
public interface BookCommentService extends IService<BookComment> {

    List<BookCommentDto> showBookComment(Integer bookid, Integer page, Integer size);

    IPage<MyCommentDto> getReaderMyComment(Integer id, Page<MyCommentDto> page);
}
